package org.xlh.springboot.config;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AppConfig {

    @Value("${myapp.path}")
    private String appPath;
    public void getAppPath() {
        System.out.println(appPath);
    }
}
